package com.wisdom.benefit.jufa.entity;

import android.os.Parcel;
import android.os.Parcelable;

public class GetStatusInfo implements Parcelable {
    private int status;

    protected GetStatusInfo(Parcel in) {
        status = in.readInt();
    }

    public static final Creator<GetStatusInfo> CREATOR = new Creator<GetStatusInfo>() {
        @Override
        public GetStatusInfo createFromParcel(Parcel in) {
            return new GetStatusInfo(in);
        }

        @Override
        public GetStatusInfo[] newArray(int size) {
            return new GetStatusInfo[size];
        }
    };

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.status);
    }
}
